package cn.lhemi.iotweb.controller;

import cn.hutool.core.util.IdUtil;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class WxController {
    @RequestMapping("/")
    public String index(Model model){
        model.addAttribute("sn","MT20200307123456");
        model.addAttribute("uid", IdUtil.simpleUUID());
        model.addAttribute("state",0);
        return "bindDevice";
    }

}
